Skip to content

Comments

test: OTel integration tests#167

Open
bornast wants to merge 8 commits intomasterfrom
test/otel-integration
Open

test: OTel integration tests#167
bornast wants to merge 8 commits intomasterfrom
test/otel-integration

Conversation

@bornast
Copy link
Member

@bornast bornast commented Feb 20, 2026

This PR introduces OTel integration tests. It provisions a web server and an OTel collector that exports telemetry data to AWS CloudWatch, X-Ray, and Prometheus. The tests validate that telemetry data is successfully delivered to all configured services.

Comment on lines 29 to 36
const cloudWatchLogGroup = new aws.cloudwatch.LogGroup(
`${appName}-log-group`,
{
name: cloudWatchLogGroupName,
tags,
},
{ parent },
);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be part of OtelCollectorBuilder?

export const usersPath = '/users';
export const errorPath = '/error';

export const prometheusNamespace = 'icb_otel_integration';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why this is snake_case not kebab-case like everything else? :bowtie:

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, prometheus uses snake case convention for naming even though at first i went with kebab case, i had issues querying metrics...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants